package branch.feature.gaode_map.showmap;

import android.app.Activity;
import android.os.Bundle;

import androidx.annotation.Nullable;

import com.amap.api.maps.MapView;
import com.example.myapplication.R;

public class ShowMapActivity extends Activity {
    MapView mapView = null;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_map_gd);

        mapView = (MapView) findViewById(R.id.map);
        mapView.onCreate(savedInstanceState);

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        mapView.onDestroy();
    }

    @Override
    protected void onResume() {
        super.onResume();
        mapView.onResume();
    }

    @Override
    protected void onPause() {
        super.onPause();
        mapView.onPause();
    }
}
